From 53d549542b59827275818022a5f61ac76ff47e7c Mon Sep 17 00:00:00 2001 From: Behnam Esfahbod Date: Wed, 30 Aug 2017 18:02:21 -0700 Subject: [PATCH] [src/doc/book] Apply 01-*.md changes into index.md --- src/doc/MIGRATION_MAP | 4 ++-- src/doc/index.md | 19 ++++++++++--------- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/src/doc/MIGRATION_MAP b/src/doc/MIGRATION_MAP index 0cbfa3b3b..85c7ed570 100644 --- a/src/doc/MIGRATION_MAP +++ b/src/doc/MIGRATION_MAP @@ -4,8 +4,8 @@ crates-io.md book/src/03-06-crates-io.md environment-variables.md book/src/03-04-environment-variables.md external-tools.md book/src/03-09-external-tools.md faq.md book/src/faq.md -guide.md book/src/guide.md -index.md +guide.md book/src/guide.md book/src/02-*.md +index.md book/src/SUMMARY.md book/src/01-*.md manifest.md pkgid-spec.md policies.md diff --git a/src/doc/index.md b/src/doc/index.md index d17249d00..f2fbf81a0 100644 --- a/src/doc/index.md +++ b/src/doc/index.md @@ -63,9 +63,10 @@ fn main() { Cargo generated a “hello world” for us. Let’s compile it: -
$ cargo build
-   Compiling hello_world v0.1.0 (file:///path/to/project/hello_world)
+```shell +$ cargo build + Compiling hello_world v0.1.0 (file:///path/to/project/hello_world) +``` And then run it: @@ -76,12 +77,12 @@ Hello, world! We can also use `cargo run` to compile and then run it, all in one step: -
$ cargo run
-     Fresh hello_world v0.1.0 (file:///path/to/project/hello_world)
-   Running `target/hello_world`
-Hello, world!
+```shell +$ cargo run + Fresh hello_world v0.1.0 (file:///path/to/project/hello_world) + Running `target/hello_world` +Hello, world! +``` # Going further -- 2.30.2